﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Quality.Domain
{
    /// <summary>
    /// 复检
    /// </summary>
    [Table("Reinspection")]
    public class Reinspection: AuditFields
    {
        /// <summary>
        /// 复检ID
        /// </summary>
        [Key]
public int ReinspectionId {  get; set; }
        /// <summary>
        /// 复检编号
        /// </summary>
        public string? ReinspectionCode {  get; set; }
        /// <summary>
        /// 复检名称
        /// </summary>
        public string? ReinspectionName { get; set; }
        /// <summary>
        /// 复检数量
        /// </summary>
        public int? ReinspectionNumber {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ReinspectionNote {  get; set; }
        /// <summary>
        /// 复检状态
        /// </summary>
        public string? ReinspectionSarte { get; set; } = "待复检";
        /// <summary>
        /// 合格状态
        /// </summary>
        public string? HeGeSarte {  get; set; }
        /// <summary>
        /// 复检日期
        /// </summary>
        public DateTime? ReinspectionTime {  get; set; }
        /// <summary>
        /// 复检人
        /// </summary>
        public string? ReName {  get; set; }
        /// <summary>
        /// 原料质检表ID
        /// </summary>
        public int? RawMaterialQualityId { get; set; }

    }
}
